#include "led.h"
#include "io430.h"


void LED_INIT(){
  P1DIR |= BIT0;
  P4DIR |= BIT7;
  LED_R(0);
  LED_L(0);
}
  
void LED_L(char n){
  if(n){
    P1OUT |= BIT0;  
  }else{
    P1OUT &= ~BIT0;
  }
}

void LED_R(char n){
  if(n){
    P4OUT |= BIT7;  
  }else{
    P4OUT &= ~BIT7;
  }
}





